package com.ushio.authservice.user.service.impl;

import com.ushio.authservice.user.entity.qo.LoginUserQo;
import com.ushio.authservice.user.entity.vo.LoginUserVo;
import com.ushio.authservice.user.service.LoginService;
import com.ushio.authservice.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    UserService userService;
    @Override
    public LoginUserVo getLoginUser(LoginUserQo loginUserQo) {
        LoginUserVo login = userService.getLogin(loginUserQo);
        return login;
    }
}
